package ar.com.freesales.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;
import javax.persistence.Table;

import ar.com.freesales.enums.RoomTypeEnum;

@Entity
@Table(name = "HOTEL_OTA_ROOM_TYPE")
public class RoomTypeCode {
	
	private Long id;
	private Long idHotelOta;
	private RoomTypeEnum roomTypeEnum;
	private Long roomTypeCode;
	
	
	@Id
	@Column(name = "ID")
	public Long getId() {
		return id;
	}

	@Column(name = "ID_HOTEL_OTA")
	public Long getIdHotelOta() {
		return idHotelOta;
	}
	
	@Column(name = "ID_ROOM_TYPE")
	@Enumerated(EnumType.ORDINAL)
	public RoomTypeEnum getRoomTypeEnum() {
		return roomTypeEnum;
	}
	
	@Column(name = "CODE")
	public Long getRoomTypeCode() {
		return roomTypeCode;
	}
	
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public void setIdHotelOta(Long idHotelOta) {
		this.idHotelOta = idHotelOta;
	}
	
	public void setRoomTypeCode(Long roomTypeCode) {
		this.roomTypeCode = roomTypeCode;
	}
	
	public void setRoomTypeEnum(RoomTypeEnum roomTypeEnum) {
		this.roomTypeEnum = roomTypeEnum;
	}
	
}
